package com.autohome.wz.business.order.model;

import java.io.Serializable;
import java.util.Date;

public class WzGasstationtag implements Serializable {
    private Integer id;

    private Integer stationid;

    private String tagname;

    private String tagimageurl;

    private String tagindexdescription;

    private String tagdescription;

    private String tagtype;

    private Date createdStime;

    private Date modifiedStime;

    private Integer isDel;

    private Integer oilid;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getStationid() {
        return stationid;
    }

    public void setStationid(Integer stationid) {
        this.stationid = stationid;
    }

    public String getTagname() {
        return tagname;
    }

    public void setTagname(String tagname) {
        this.tagname = tagname == null ? null : tagname.trim();
    }

    public String getTagimageurl() {
        return tagimageurl;
    }

    public void setTagimageurl(String tagimageurl) {
        this.tagimageurl = tagimageurl == null ? null : tagimageurl.trim();
    }

    public String getTagindexdescription() {
        return tagindexdescription;
    }

    public void setTagindexdescription(String tagindexdescription) {
        this.tagindexdescription = tagindexdescription == null ? null : tagindexdescription.trim();
    }

    public String getTagdescription() {
        return tagdescription;
    }

    public void setTagdescription(String tagdescription) {
        this.tagdescription = tagdescription == null ? null : tagdescription.trim();
    }

    public String getTagtype() {
        return tagtype;
    }

    public void setTagtype(String tagtype) {
        this.tagtype = tagtype == null ? null : tagtype.trim();
    }

    public Date getCreatedStime() {
        return createdStime;
    }

    public void setCreatedStime(Date createdStime) {
        this.createdStime = createdStime;
    }

    public Date getModifiedStime() {
        return modifiedStime;
    }

    public void setModifiedStime(Date modifiedStime) {
        this.modifiedStime = modifiedStime;
    }

    public Integer getIsDel() {
        return isDel;
    }

    public void setIsDel(Integer isDel) {
        this.isDel = isDel;
    }

    public Integer getOilid() {
        return oilid;
    }

    public void setOilid(Integer oilid) {
        this.oilid = oilid;
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        WzGasstationtag other = (WzGasstationtag) that;
        return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId()))
            && (this.getStationid() == null ? other.getStationid() == null : this.getStationid().equals(other.getStationid()))
            && (this.getTagname() == null ? other.getTagname() == null : this.getTagname().equals(other.getTagname()))
            && (this.getTagimageurl() == null ? other.getTagimageurl() == null : this.getTagimageurl().equals(other.getTagimageurl()))
            && (this.getTagindexdescription() == null ? other.getTagindexdescription() == null : this.getTagindexdescription().equals(other.getTagindexdescription()))
            && (this.getTagdescription() == null ? other.getTagdescription() == null : this.getTagdescription().equals(other.getTagdescription()))
            && (this.getTagtype() == null ? other.getTagtype() == null : this.getTagtype().equals(other.getTagtype()))
            && (this.getCreatedStime() == null ? other.getCreatedStime() == null : this.getCreatedStime().equals(other.getCreatedStime()))
            && (this.getModifiedStime() == null ? other.getModifiedStime() == null : this.getModifiedStime().equals(other.getModifiedStime()))
            && (this.getIsDel() == null ? other.getIsDel() == null : this.getIsDel().equals(other.getIsDel()))
            && (this.getOilid() == null ? other.getOilid() == null : this.getOilid().equals(other.getOilid()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getId() == null) ? 0 : getId().hashCode());
        result = prime * result + ((getStationid() == null) ? 0 : getStationid().hashCode());
        result = prime * result + ((getTagname() == null) ? 0 : getTagname().hashCode());
        result = prime * result + ((getTagimageurl() == null) ? 0 : getTagimageurl().hashCode());
        result = prime * result + ((getTagindexdescription() == null) ? 0 : getTagindexdescription().hashCode());
        result = prime * result + ((getTagdescription() == null) ? 0 : getTagdescription().hashCode());
        result = prime * result + ((getTagtype() == null) ? 0 : getTagtype().hashCode());
        result = prime * result + ((getCreatedStime() == null) ? 0 : getCreatedStime().hashCode());
        result = prime * result + ((getModifiedStime() == null) ? 0 : getModifiedStime().hashCode());
        result = prime * result + ((getIsDel() == null) ? 0 : getIsDel().hashCode());
        result = prime * result + ((getOilid() == null) ? 0 : getOilid().hashCode());
        return result;
    }
}